<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<HTML>
<HEAD>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</HEAD>

<body>
	<!--  -->
	<form id="userAction_save_do" name="Form1" action="${pageContext.request.contextPath}/admin/editGoods"
		method="post" enctype="multipart/form-data">
		&nbsp;<input type="hidden" name="goodsId" value="${goods.goodsId}"/>
		<table cellSpacing="1" cellPadding="5" width="100%" align="center"
			bgColor="#eeeeee" style="border: 1px solid #8ba7e3" border="0">
			<tr>
				<td class="ta_01" align="center" bgColor="#afd1f3" colSpan="4"
					height="26"><strong><STRONG>商品管理</STRONG> </strong></td>
			</tr>
			<tr>
				<td width="10%" align="center" bgColor="#f5fafe" class="ta_01">
					图书名称：</td>
				<td class="ta_01" bgColor="#ffffff">
					${goods.bName}				</td>
				<td width="10%" align="center" bgColor="#f5fafe" class="ta_01">
					当前数量：</td>
				<td class="ta_01" bgColor="#ffffff">
					${goods.number}<input type="hidden" name = "number" value = "${goods.number}">
				</td>
				<td class="ta_01" bgColor="#ffffff">
					售价：<input type="text" name = "price" value = "${goods.price}">
				</td>
				<td width="10%" align="center" bgColor="#f5fafe" class="ta_01">
					增加数量：</td>
				<td class="ta_01" bgColor="#ffffff">
					<input type="text" name="addNum" value="0"  />
				</td>
			</tr>
			<tr>
				<td width="10%" align="center" bgColor="#f5fafe" class="ta_01">
					IsHot：</td>
				<td class="ta_01" bgColor="#ffffff" colspan="3">
					<select name="ishot">
						<option value="1" <c:if test="${goods.ishot == 1}">selected</c:if>>是</option>
						<option value="0" <c:if test="${goods.ishot == 0}">selected</c:if>>否</option>		
					</select>
				</td>
			</tr>
			<tr>
				<td class="ta_01" style="WIDTH: 100%" align="center" bgColor="#f5fafe" colSpan="4">
					<button type="submit" id="userAction_save_do_submit" value="确定"
						class="button_ok">&#30830;&#23450;</button> <FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>
					<button type="reset" value="重置" class="button_cancel">&#37325;&#32622;</button>

					<FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <INPUT
					class="button_ok" type="button" onclick="history.go(-1)" value="返回" />
					<span id="Label1"></span>
				</td>
			</tr>
		</table>
	</form>
</body>
</HTML>